package com.briup.oagg.dataset.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.framework.utils.common.EntityUtils;
import com.briup.framework.utils.common.StringUtil;
import com.briup.framework.utils.execption.BriupAssert;
import com.briup.framework.utils.sercurity.SecurityUtils;
import com.briup.oagg.dataset.bean.basic.*;
import com.briup.oagg.dataset.mapper.basic.*;
import com.briup.oagg.dataset.mapper.ext.DataExtMapper;
import com.briup.oagg.dataset.mapper.ext.DatasetExtMapper;
import com.briup.oagg.dataset.service.IDatasetService;
import com.briup.oagg.dataset.web.vm.DatasetAddVM;
import com.briup.oagg.dataset.web.vm.DatasetListVM;
import com.briup.oagg.dataset.web.vm.DatasetVM;
import com.briup.oagg.dataset.web.vm.DatasetUpdateVM;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

import static com.briup.framework.utils.web.ResponseCode.DATA_NOT_FOUND;
import static com.briup.framework.utils.web.ResponseCode.NAME_EXISTED;
import static com.briup.oagg.dataset.constants.DatasetConstants.DatasetStatus.UNUPLOAD;

/**
 * 数据集信息业务逻辑接口实现类
 *
 * @author briup
 */
@Service
public class DatasetServiceImpl extends ServiceImpl<DatasetMapper, Dataset> implements IDatasetService {
    @Override
    public void addDataset(DatasetAddVM vm) {

    }

    @Override
    public void updateDataset(DatasetUpdateVM vm) {

    }

    @Override
    public void deleteById(String datasetId) {

    }

    @Override
    public Page<DatasetListVM> findByPage(Integer pageNum, Integer pageSize, String search) {
        return null;
    }

    @Override
    public List<DatasetVM> findByCondition(String basinId, String zoneId, String trapId, String reservoirId) {
        return null;
    }

    @Override
    public DatasetVM findById(String datasetId) {
        return null;
    }

    @Override
    public int countNum() {
        return 0;
    }
}
